mapping = {
    'SSAR_c': 0.8835878829847663,
    'OISER_a': 0.04619997198689341,
    'EFI_a': 0.33396410348147343,
    'VFgwoa': 0.4247473540920841,
    'VF_suroa': 0.4183747350578009,
    'AT_caa': 0.22818611815310463,
    'OSIR_c': 0.9955659643879393,
    'H_c': 0.3276267017698865,
    'EFO_c': 0.23333532255949663,
    'AT_ca': 0.07184157333286856,
    'DAIR_c': 0.10316584829135855,
    'VFsuroa': 0.2832661553926704,
    'VF_subia': 0.49587202262604857,
    'EFO_a': 0.1534758746660545,
    'VFsuboa': 0.8769170380743704,
    'GWCR_c': 0.03140290437674109,
    'H_a': 0.7162244395665759,
    'VF_suboa': 0.21879413960757232,
    'DAIR_a': 0.8097495365816445,
    'PIAF': 0.04659852497689543,
    'VF_gwia': 0.44761815929051174,
    'ED_c': 0.9990219675288957,
    'BW_c': 0.07261987163897354,
    'fspi': 0.8587142503934984,
    'OSIR_a': 0.653952407828525,
    'PM_10': 0.5291691172504802,
    'ED_a': 0.3566932793016594,
    'AT_nc': 0.7663544174208777,
    'BW_a': 0.01424544385310511,
    'ABS_d': 0.8502522430269229,
    'EF_a': 0.6531888464339066,
    'E_v': 0.2771726258402677,
    'GWCR_a': 0.0343339853879614,
    'EF_c': 0.2927648904870497,
    'SSAR_a': 0.04320643088967857,
    'SER_c': 0.6818717814034362,
    'ABS_o': 0.10036280176592594,
    'EFI_c': 0.5942923579221999,
    'fspo': 0.7314213071414446,
    'VF_gwoa': 0.6143235357937774,
    'SER_a': 0.46577349781334165
}


def findCode(name):
    '''
    根据name查找编码
    '''
    return mapping.get(name)


def findName(code):
    '''
    根据编码查找name
    '''
    for k, v in mapping.items():
        if v == code:
            return k
    return None
